# number = int(input("请输入数字"))
# if number % 2 == 1:
#    print(number, "是奇数")
# elif number % 2 == 0:
#    print(number, "是偶数")
# number = int(input("请输入数字"))
# if number == 0:
#    print(number, "数字为零")
# elif number > 0:
#    print(number, "数字为正")
# else:
#    print(number, "数字为负数")
# print("成都一日游收费计算")
# number = int(input("请输入游玩人数："))
# if number > 0 and number <=5 :
#     print("您需要缴费：",number*300, "元")
# elif number > 5 :
#     print("您需要缴费：", number * 260, "元")
# else :
#     print("您输入的人数不对！")
one = int(input("请输入第一次考试成绩"))
two = int(input("请输入第二次考试成绩"))
three = int(input("请输入第三次考试成绩"))
average = (one + two + three) / 3
print("你的平均成绩是：", average)
if one >= average:
    print("你的最高成绩是：", one)
elif two >= average:
    print("你的最高成绩是：", two)
else:
    print("你的最高成绩是：", three)

if one <= average:
    print("你的最低成绩是：", one)
elif two <= average:
    print("你的最低成绩是：", two)
else:
    print("你的最低成绩是：", three)
